package yxy.game.pm2.active.module.subordinateclass.ghost;

import yxy.apple.util.RandomUtility.Weight;

public class GhostWishRandom implements Weight {


	private int score ; 	//分数
	private int percent;	//权重

	public GhostWishRandom(int score, int percent) {
		this.score = score;
		this.percent = percent;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getPercent() {
		return percent;
	}

	public void setPercent(int percent) {
		this.percent = percent;
	}

	@Override
	public int getWeight() {
		return percent;
	}

}
